package com.kgc.work.workmanagerservice.service;

import com.kgc.work.bean.Project;
import com.kgc.work.service.ProService;
import com.kgc.work.workmanagerservice.mapper.ProjectMapper;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ProServiceImpl implements ProService {
    @Resource
    ProjectMapper projectMapper;
    @Override
    public List<Project> getAll() {
        return projectMapper.selectByExample(null);
    }
}
